package com.tx.boot_demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 *  @SpringBootApplication 标注是一个spring boot应用
 */
@SpringBootApplication
@ImportResource(locations = {"classpath:beans.xml"})
public class BootDemoApplication {

    public static void main(String[] args) {
        //让springboot启动起来
        SpringApplication.run(BootDemoApplication.class, args);
    }

}
